# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pyname=trivup
pkgname=py3-$_pyname
pkgver=0.12.2
pkgrel=0
pkgdesc="Trivially Up a cluster of programs, such as a Kafka cluster"
url="https://github.com/edenhill/trivup"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-jwcrypto py3-python-jwt  py3-requests"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/t/trivup/trivup-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
258f0305053f2a14dfe9f9ceeef9b75534bf3fb31c34ab2b9528013eccbaf783386cfe56a81102c965e4cda4f1adf3a24ec7bfe096ee5809df9f507dddc1ab2b  trivup-0.12.2.tar.gz
"
